package com.shenyong.ladmin.entity;

/**
 * @author
 * @site
 * @company
 * @create
 */
public class Sysoperationlog {
    private int id;
    private String createTime;
    private int userId;
    private String userName;
    private String operationType;
    private String method;
    private String params;
    private String operationDescribe;
    private Users userLog;

    public Sysoperationlog(Users userLog,int id, String createTime, int userId, String userName, String operationType, String method, String params, String operationDescribe) {
        this.userLog=userLog;
        this.id = id;
        this.createTime = createTime;
        this.userId = userId;
        this.userName = userName;
        this.operationType = operationType;
        this.method = method;
        this.params = params;
        this.operationDescribe = operationDescribe;
    }
    public Sysoperationlog(){

    }
    public Users getUserLog() {
        return userLog;
    }

    public void setUserLog(Users userLog) {
        this.userLog = userLog;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOperationType() {
        return operationType;
    }

    public void setOperationType(String operationType) {
        this.operationType = operationType;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public String getOperationDescribe() {
        return operationDescribe;
    }

    public void setOperationDescribe(String operationDescribe) {
        this.operationDescribe = operationDescribe;
    }

    @Override
    public String toString() {
        return "Sysoperationlog{" +
                "id=" + id +
                ", createTime='" + createTime + '\'' +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", operationType='" + operationType + '\'' +
                ", method='" + method + '\'' +
                ", params='" + params + '\'' +
                ", operationDescribe='" + operationDescribe + '\'' +
                ", userLog='" + userLog + '\'' +
                '}';
    }
}
